package community.hospital.service.domain;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import community.hospital.entity.Schedule;
import community.hospital.entity.request.ListScheduleRequest;

import java.time.LocalDate;
import java.util.Date;

/**
 * @author yindingjie
 */
public interface ScheduleService extends IService<Schedule> {
    Page<Schedule> listSchedule(ListScheduleRequest request);

    int countByDoctorIdAndTime(int year,int month,int day, Long doctorId);

    Schedule querySchedule(Long doctorId, LocalDate localDate);

}
